package org.chen.domain.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;

@Data
@Validated
public class SystemConfigVO {
    @NotBlank(message = "系统名称不能为空")
    @Length(max = 100, message = "系统名称长度不能超过100个字符")
    private String systemName;

    private String username;
    private String email;
}